package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 物资出库记录对象 materiel_outbound_record
 *
 * @author qichi
 * @date 2023-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MaterielOutboundRecordVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 物资id
     */
    @Excel(name = "物资id")
    private Long materielId;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String materielName;

    /**
     * 物资编码
     */
    @Excel(name = "物资编码")
    private String materielCode;

    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private Long customerId;

    /**
     * 客户手机号
     */
    @Excel(name = "客户手机号")
    private String customerPhone;

    /**
     * 申请出库员工id
     */
    @Excel(name = "申请出库员工id")
    private Long userId;

    /**
     * 出库类型 0 处方取药、 1 零售 、2其他
     */
    @Excel(name = "出库类型 0 处方取药、 1 零售 、2其他")
    private Integer outboundType;

    /**
     * 出库状态 0 待出库、 1 已出库 、2、取消、
     */
    @Excel(name = "出库状态 0 待出库、 1、已出库 、2、取消")
    private Integer outboundStatus;

    /**
     * 取消原因
     */
    @Excel(name = "取消原因")
    private String cancelReason;

    /**
     * 处方id
     */
    @Excel(name = "处方id")
    private Long prescriptionId;

    /**
     * 处方编号
     */
    @Excel(name = "处方编号")
    private String prescriptionCode;

    /**
     * 实际出库数量
     */
    @Excel(name = "实际出库数量")
    private BigDecimal number;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 总金额
     */
    private BigDecimal sumPrice;

    private String customerName;

    private String specification;
    private String dosage;
    private String medicationInstruction;


}
